package com.aatrox.bhsypro.dao;

import com.aatrox.bhsypro.entity.BhSyShop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BhSyShopDao {
    //查询所有商品
    public List<BhSyShop> selAllShop();
    //通过ID查询对应的商品
    public BhSyShop selShopForSid(int sid);
    //更改商品库存
    public void updateShopCount(int sid);
    //添加商品
    public void insertNewShop(BhSyShop bss);
}
